// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:34

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   vs.java

package com.zelix;

import java.util.*;

// Referenced classes of package com.zelix:
//            rs, yg, fh, ws, 
//            lt, mt, lu, wu, 
//            is, jm, ks, at

public class vs extends rs
{

    vs(int i, jm jm, ks ks, ws ws1, yg yg1)
    {
        super(i, jm, ks, ws1, yg1);
    }

    vs(at at, ks ks, ws ws1)
    {
        super(at, ks, ws1);
    }

    public mt r()
    {
        String s1 = lt.d(m());
        if(s1 != null)
            return fh.a(s1);
        else
            return null;
    }

    final void a(String s1, String s2, fh fh1, wu wu1, HashSet hashset, yg yg1)
    {
        Enumeration enumeration;
        boolean flag;
        flag = is.g;
        enumeration = fh1.k();
        if(enumeration == null) goto _L2; else goto _L1
_L1:
        if(!flag) goto _L4; else goto _L3
_L3:
        fh fh2 = (fh)enumeration.nextElement();
        if(!fh2.w())
            continue; /* Loop/switch isn't completed */
        String s3 = fh2.d();
        lu lu1 = yg1.a(s3, s1, s2);
        if(lu1 != null)
        {
            wu1.a(lu1);
            if(!flag)
                break; /* Loop/switch isn't completed */
        }
        hashset.add(fh2.c());
        a(s1, s2, fh2, wu1, hashset, yg1);
        if(!wu1.g() && !flag)
            break; /* Loop/switch isn't completed */
_L4:
        if(enumeration.hasMoreElements()) goto _L3; else goto _L2
_L2:
    }

    public String s()
    {
        String s1 = super.j.b();
        if(s1.equals("B") || s1.equals("C") || s1.equals("S") || s1.equals("Z"))
            return "I";
        else
            return s1;
    }

    public int l()
    {
        return 9;
    }

    public void a(yg yg1)
    {
        mt mt1;
        HashSet hashset;
        wu wu1;
        boolean flag;
        flag = is.g;
        String s1 = n();
        String s2 = m();
        String s3 = b();
        String s4 = s3;
        fh fh1 = fh.b(s4);
        mt1 = null;
        hashset = null;
        wu1 = new wu();
        while(fh1 != null && fh1.w()) 
        {
            lu lu1 = yg1.a(s4, s1, s2);
            if(lu1 != null)
                wu1.a(lu1);
            if(mt1 == null)
            {
                if(!wu1.g())
                    break;
                mt1 = fh1.c();
                hashset = new HashSet();
            }
            mt mt2 = fh1.c();
            if(!wu1.g())
                break;
            hashset.add(mt2);
            a(s1, s2, fh1, wu1, hashset, yg1);
            if(!wu1.g() && !flag)
                break;
            fh1 = fh1.q();
            s4 = fh1.d();
        }
        super.k = (lu)wu1.a();
        if(hashset == null || wu1.g()) goto _L2; else goto _L1
_L1:
        Iterator iterator = hashset.iterator();
        if(!flag) goto _L4; else goto _L3
_L3:
        mt mt3 = (mt)iterator.next();
        mt3.b((lu)super.k, mt1);
_L4:
        if(iterator.hasNext()) goto _L3; else goto _L2
_L2:
    }
}